package org.lili.nestedfunction;

import org.lili.semanticmodel.Edge;
import org.lili.semanticmodel.Vertex;

/**
 * @author lili
 * @description ${DESCRIPTION}
 * @create 2018-04-22 下午3:46
 * @since
 **/
public class NestedEdgeBuilder {

    public static Edge edge(Vertex from, Vertex to,
                            Double weight){
        return new Edge(from, to, weight);
    }

    public static Double weight(Double value){
        return value;
    }

}
